package com.mmall.user.provider.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mmall.user.provider.model.UserDO;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author jianghucoding
 * @date 2019/10/17
 */
@Repository
public interface UserMapper extends BaseMapper<UserDO> {

    @Select("select * from user where mobile = #{mobile}")
    UserDO selectByMobile(Long mobile);
}
